package com.rockcent.mall.lib.repository;

import com.rockcent.mall.lib.domain.AuthUserResourceDefault;
import com.rockcent.mall.lib.domain.enumclass.SystemType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by DK on 17/3/29.
 */
@Repository
public interface AuthUserResourceDefaultRepository extends JpaRepository<AuthUserResourceDefault, Long>, JpaSpecificationExecutor, AuthUserResourceDefaultRepositoryCustom {
    List<AuthUserResourceDefault> findBySystemType(SystemType mall);
}
